﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZBJF.Warranty.Model;

namespace ZBJF.Warranty.BLL
{
    public partial class InsuranceWarrantyRecordImagesService
    {
        public InsuranceWarrantyRecordImages LoadByID(long id)
        {
            return LoadEntities(o => o.ID == id).FirstOrDefault();
        }


        public IQueryable<InsuranceWarrantyRecordImages> LoadByInsuranceWarrantyRecordId(long insuranceWarrantyRecordId)
        {
            return LoadEntities(o => o.InsuranceWarrantyRecordId == insuranceWarrantyRecordId);
        }
    }
}
